FTP FIND FIRST

This command will allow you to find the first ftp file in the current ftp directory.

  Syntax
FTP FIND FIRST
  Returns

This command does not return a value.

  Example Code
cls : print "VIEW EACH FTP FILE IN A FOLDER"
if get ftp status()=1
print "FTP DIR:";get ftp dir$();"..." : sync
ftp find first
while get ftp file type()>-1
print "Type:";get ftp file type();
print " Name:";get ftp file name$();
print " Size:";get ftp file size()
ftp find next
sync
endwhile
endif
  See also

FTP Commands Menu
Index